//
//  ViewController.m
//  A_1129
//
//  Created by 郭恒维 on 16/1/15.
//  Copyright © 2016年 郭恒维. All rights reserved.
//

#import "ViewController.h"
#import <AFNetworking.h>

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
    
    
    
    
    
    
    
    
    
    
    
    NSString *str = @"<html><head></head><body><p style='color=#333'>我是一个HMTL语句</p></body></html>";
    
    UIWebView *web = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height)];
    [web loadHTMLString:str baseURL:nil];
    [self.view addSubview:web];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
